package com.tuniu.agents.common.message;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Thinking module
 */
@Data
@NoArgsConstructor
public class Think {

    /**
     * Title of the thought (e.g., Thinking... or how many seconds have been thought)
     */
    private String title;

    /**
     * Content of the thought
     */
    private String content;

    /**
     * Time taken for thinking (in seconds; greater than 0 indicates thinking has ended)
     */
    private long thinkCostTime;


    /**
     * Constructor to initialize title and content.
     *
     * @param title   the title of the thought
     * @param content the content of the thought
     */
    public Think(String title, String content) {
        this.title = title;
        this.content = content;
    }

    /**
     * Constructor to initialize title, content, and thinkCostTime.
     *
     * @param title         the title of the thought
     * @param content       the content of the thought
     * @param thinkCostTime the time taken for thinking in seconds
     */
    public Think(String title, String content,long thinkCostTime) {
        this.title = title;
        this.content = content;
        this.thinkCostTime = thinkCostTime;
    }
}
